package com.mtw.bbs;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;


@EnableDiscoveryClient
@MapperScan("com.mtw.bbs.**.mapper")
@EnableFeignClients(basePackages = {"com.mtw.bbs"})
@SpringBootApplication(scanBasePackages = "com.mtw.bbs.**")
@EnableElasticsearchRepositories(basePackages = "com.mtw.bbs.**.repository")
public class ArticleApplication {
    public static void main(String[] args) {
        SpringApplication.run(ArticleApplication.class, args);
    }
}
